package com.neusoft.neu24.his.hisapp.service.impl;

import com.neusoft.neu24.his.hisapp.dao.IDeptDao;
import com.neusoft.neu24.his.hisapp.dao.impl.DeptDaoImpl;
import com.neusoft.neu24.his.hisapp.entity.Dept;
import com.neusoft.neu24.his.hisapp.service.IDeptService;

import java.io.IOException;

public class DeptServiceImpl implements IDeptService {
    private IDeptDao deptDao =new DeptDaoImpl();

    @Override
    public int addDept(Dept dept) throws IOException {
        return deptDao.addDept(dept);
    }
}
